var { clickUtils, ocrUtils, gUtils } = require("../shizukuUtils/index");
var pointMap = {
  关闭: [[853, 736, 900, 783], 1080, 2340],
};
Wang.main = function () {
  var text$ = "可领取";
  var TextOCR = ocrUtils.captureExistsText(text$);
  while (TextOCR) {
    clickUtils.clickTextOCR(TextOCR);
    gUtils.sleep(3, 5);
    clickUtils.clickPointMap(pointMap.关闭);
    gUtils.sleep(3, 5);
    TextOCR = ocrUtils.captureExistsText(text$);
  }
};
